* nsterm.m (EmacsApp-sendEvent:): Defer NSApplicationDefined event
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Sat, 7 Feb 2009 11:04:22 +0000 (11:04 +0000)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Sat, 7 Feb 2009 11:04:22 +0000 (11:04 +0000)
commit1af74ba8de88c2da154bc9146c53ad8a5337842b
tree3c10876e76931473b43e61e029c70d3e1f44ebd3
parent3eeb362e2b7d19ff93465f7c2cbcca278036eab9
* nsterm.m (EmacsApp-sendEvent:): Defer NSApplicationDefined event
when modal window is active. (Bug #2152)
(applicationShouldTerminate:): Remove now-unneeded while loop
around NSRunAlertPanel.

* nsmenu.m (popupSession): New file-global variable.
(pop_down_menu): End the popupSession before closing dialog.
(ns_popup_dialog): BLOCK_INPUT around dialog presentation.
(EmacsDialogPanel-runDialogAt:): Don't place window (superfluous),
don't query NSApp for events (just sleep instead).
src/ChangeLog